//package com.zhouyu.nine;
//
//import org.springframework.context.ApplicationEvent;
//import org.springframework.context.ApplicationListener;
//import org.springframework.context.PayloadApplicationEvent;
//import org.springframework.stereotype.Component;
//
//@Component
//public class EventService implements ApplicationListener {
//
//	@Override
//	public void onApplicationEvent(ApplicationEvent event) {
//		PayloadApplicationEvent event1 = (PayloadApplicationEvent) event;
//		System.out.println(event1.getPayload());
//
//	}
//}
